package com.cc.flyingfish.util;

/**
 * @author CHENCHEN
 * @title
 * @createTime 2023-02-27 21:49
 */
public class BusinessStatusConstant {

    //业务成功
    public static final Integer OK = 0;

    //业务成功提示信息
    public static final String OK_MESSAGE = "success";

    //业务失败
    public static final Integer ERR = -1;

    //业务失败提示信息
    public static final String ERR_MESSAGE = "fail";

    //未登录
    public static final Integer UNAUTHORIZED = 401;

    //未登录提示信息
    public static final String UNAUTHORIZED_MESSAGE = "非法用户TOKEN";

    //业务异常
    public static final Integer BUSINESSEXCEPTION = 402;

    //业务异常提示信息
    public static final String BUSINESSEXCEPTION_MESSAGE = "Business Processing Exception";

    //登录超时
    public static final Integer UTHORIZED_TIMEOUT = 555;

    //登录超时
    public static final String UTHORIZED_TIMEOUT_MESSAGE = "TOKEN过期";
}
